<div class="content-full">        
    {$__model = "site"}
    {Model model="Project" method="getProjectList"}    
    
    <div class="content-full-left">
        <div class=" scrollbar" rev="link-container">
        <div class="list-content" id="link-container">
            {foreach $project item=r name=list}
              <span style="margin-bottom: 5px;display:block;text-align:left;">
                <a name="RelList" id="{$smarty.foreach.list.index}">{$r.name|upper}</a>
              </span>
            {/foreach}
        </div></div>
    </div>
    <div class="content-full-right">
        <h1>{$content.title}</h1>
        <p>{$content.content}</p>
        {foreach $project item=r name=list}
        <div class="realization" style="display: none;" id="{$smarty.foreach.list.index}">   
            <div>
                <div class="realization-thumb"><img src="/thumb/{$r.file}"/></div>
                <div class="realization-desc"><h2>{$r.name}</h2>
                    {if $r.images > 0 }
                <button class="blue-button2" id="load-project" hash="{$r.hash}">Zobacz więcej</button>{/if}
                </div>
                <div style="clear: both"></div>
            </div>

            <div class="desc-button">
                <p>{$r.desc}</p>
            </div>

        </div>
        {/foreach}
    </div>
</div>